package com.zsx.shopping.user.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 接收地址权限检查
 * 若接收地址id不属于当前用户则抛出异常
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ReceiveAddressPermissionCheck {
    String id() default "";
}
